<!DOCTYPE html>
<html lang="en" class="no-js" xmlns:th="http://www.thymeleaf.org" xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout" layout:decorator="admin/layout">
<head>
<title>奖品管理管理</title>
</head>
<body>
<div layout:fragment="content">
	<div class="row">
				<div class="table-toolbar col-md-12">
				
					
					
					<div class="col-md-15 col-sm-13">
					<form class="form-inline" th:action="@{/admin/product/prize/index}" th:object="${prizeSearch}"  method="post" id="form_submit">
						<div class="form-group">
							<input type="text" name="card_num" style="width:80px;" th:field="*{name}" placeholder="奖品名字"   class="form-control" />
						</div> 
						
						<div class="form-group" >
							<div class="form-group">
					            <select id="categoryId" name="categoryId" style="width:110px;" th:remove="none" class="form-control">
					            	<option value="">商品分类</option>
					                <option th:each="eachValue : ${categorys}" th:field="*{categoryId}" th:value="${eachValue.id}" th:text="${eachValue.name}"></option>
					            </select>	
					            <input type="hidden" id="hidden_goodsBrandsId" th:value="${categoryId}" />												
						</div>
						</div>
						
						<button type="submit" id="bt_search" name="bt_search" class="btn green" ><i class="fa  fa-search">搜索</i></button>
					</form>
					<div class="btn-group pull-right"><a th:href="@{/admin/product/prize/add}" id="Link_add" class="btn green">添加奖品<i class="fa fa-plus"></i></a></div>
				</div>	
				</div>
	</div>
	<div class="row">
		<div class="col-md-12">
			<div id="div_prize_table" th:include="/admin/product/prize/prize_table">
		
			</div>
		</div>
	</div>
</div>	
</body>
</html>